package com.bawei.mall.product.mapper;

import com.bawei.mall.product.domain.MallProductOrderInfo;
import com.bawei.mall.product.domain.model.OrderModel;
import com.bawei.mall.product.domain.request.OrderRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName CusUserOrderInfoMapper
 * @Description 描述
 * @Author ZiZheng.Li
 * @Date 2024/7/9 12:00
 */
@Mapper
@Component
public interface CusUserOrderInfoMapper {
    List<MallProductOrderInfo> list(MallProductOrderInfo mallProductInfo);

    OrderModel generateConfirmOrder(@Param("ids") List<Integer> ids);

    void generateOrder(OrderRequest orderRequest);
}
